<!DOCTYPE html>
<html lang="cn">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>一手册,IT在线手册--打造高质量的编程函数手册,最全面的IT在线手册</title>
<meta name="keywords" content="在线手册,函数手册,编程手册,it手册,编程语法" />
<meta name="description" content="IT手册,WEB手册,编程语言语法,函数语法,打造高质量的编程手册,最全面的在线手册"/>
<link href="/static/bst/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="/static/timeselect/css/jquery-ui-1.9.1.custom.min.css" rel="stylesheet" type="text/css" />
<link href="/static/timeselect/css/jquery-ui-timepicker-addon.css" type="text/css" />

<script src="/static/jquery.min.js"></script>
<script src="/static/bst/js/bootstrap.min.js"></script>
<script src="/static/bst/bootstrap-validation.js"></script>

<script charset="utf-8" src="/static/kd/kindeditor.js"></script>
<script charset="utf-8" src="/static/kd/lang/zh_CN.js"></script>

<script type="text/javascript" src="/static/timeselect/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/static/timeselect/js/jquery-ui-timepicker-addon.js"></script>
<script type="text/javascript" src="/static/timeselect/js/jquery-ui-sliderAccess.js"></script>
<script type="text/javascript" src="/static/timeselect/js/datetime.custom.js"></script>
<script>
        var editor,editer_en;
        KindEditor.ready(function(K) {
                editor = K.create('#content',{items : ['bold', 'italic', 'underline', 'strikethrough', 'removeformat', '|', 'justifyleft', 'justifycenter', 'formatblock', 'insertorderedlist', 'insertunorderedlist', '|','subscript','superscript', 'about','clearhtml', 'code', '|','link', 'unlink', 'emoticons', 'shcode', 'image', 'table', 'quote', '|', 'source', 'fullscreen']});
                editor_en = K.create('#content_en',{items : ['bold', 'italic', 'underline', 'strikethrough', 'removeformat', '|', 'justifyleft', 'justifycenter', 'formatblock', 'insertorderedlist', 'insertunorderedlist', '|','subscript','superscript', 'about','clearhtml', 'code', '|','link', 'unlink', 'emoticons', 'shcode', 'image', 'table', 'quote', '|', 'source', 'fullscreen']});
        });
</script>

</head>
<body>
<{include file="wiget/navbar.tpl"}>
  <form class="form-horizontal" id="form" accept-charset="utf-8" autocomplete="on" method="post" action="/edit/book/">
	<div class="control-group">
    <label class="control-label">所属书籍</label>
    <div class="controls">
      <{$section.book_title}>
    </div>
  </div>
  <input class="hide" name="book_id"  value="<{$book.id}>"/>
  <input class="hide" name="id" value="<{$section.section_id}>"/>
  <div class="control-group">
    <label class="control-label">所属类别</label>
    <div class="controls">  
		<label><{$section.item_name}></label>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label">关联函数</label>
    <div class="controls">
      <input type="text" id="func_name" name="func_name" value="<{$section.func_name}>"/>
    </div>
  </div>
  <{if 'en' eq $book.lang}>
  <div class="control-group">
    <label class="control-label">原英文标题</label>
    <div class="controls">
      <input type="text" name="title_en" id="title_en" maxlength="80"  style="width:400px;" value="<{$section.title_en}>" placeholder="函数的功能, 用途等等"/>
    </div>
  </div>
  <{/if}>
  <div class="control-group">
    <label class="control-label"><{if 'en' eq $book.lang}>(翻译的)--<{/if}>中文标题</label>
    <div class="controls">
      <input type="text" name="title" id="title" maxlength="70"  style="width:400px;" value="<{$section.title}>" placeholder="函数的功能, 用途等等"/>
    </div>
  </div>
  
  <{if 'en' eq $book.lang}>
  <div class="control-group">
    <label class="control-label">原书的内容(英文)</label>
    <div class="controls">
      <textarea type="textarea" rows="3" maxlength="10000" id="content_en" name="content_en" style="width:600px;height:250px;"><{$section.content_en}></textarea>
    </div>
  </div>
  <{/if}>
  
  <div class="control-group display">
    <label class="control-label"> <{if 'en' eq $book.lang}>(翻译的)- <{/if}>中文内容</label>
    <div class="controls">
      <textarea type="textarea" rows="3" maxlength="10000" id="content" name="content" style="width:600px;height:250px;"><{$section.content}></textarea>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label">预定发布时间</label>
    <div class="controls">
      <input type="text" class="datetime_timepicker" name="time" id="time" maxlength="30" placeholder="默认立刻发布" style="width:250px;" value="<{'Y-m-d H:i:s'|date:$section.cr_time}>"/>
    </div>
  </div>
  <div class="control-group">
    <div class="controls">
	  <a href="<{$smarty.const.URL}>" class="btn btn-large">返回首页</a>
      <button type="submit" id="submit" name="op" value="book_edit" class="btn btn-large btn-primary">提交</button>
    </div>
  </div>
</form>

<<{include file="wiget/footer.tpl"}>>